﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TarreOA.TarreOABLL;
using TarreOA.TarreOAModels;

public partial class admin_ShowSupply : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Supply supply = SupplyManager.FindBySupplyId(Convert.ToInt32(Request.QueryString["sid"]));
            lblSupplyName.Text = supply.SupplyName;
            lblTelephone.Text = supply.Telephone;
            lblFaxes.Text = supply.Faxes;
            lblURL.Text = supply.Url;
            lblEmail.Text = supply.Email;
            lblAddress.Text = supply.Address;
            lblPostalcode.Text = supply.Postalcode;
            lblBankAccounts.Text = supply.BankAccounts;
            lblAccounts.Text = supply.Accounts;
            lblRemark.Text = supply.Remark;
        }
    }
}
